import { $ajax } from "@/request";

export const loginApi = (data: { account: string, password: string }) => $ajax.post("/user/login", data)
export const getUserInfoApi = () => $ajax.post("/user/getUserInfo")